"""
数据库模型模块
导出所有模型类
"""

from app.extensions import db
from app.models.base import BaseModel
from app.models.user import User, UserRole
from app.models.video import Video
from app.models.category import Category
from app.models.comment import Comment
from app.models.like import Like
from app.models.favorite import Favorite
from app.models.follow import Follow

# 导出所有模型和数据库实例
__all__ = [
    'db',
    'BaseModel',
    'User',
    'UserRole',
    'Video',
    'Category',
    'Comment',
    'Like',
    'Favorite',
    'Follow'
]